
# Title: Testing The Effect of Information on Discerning the Veracity of News in Real-Time
# Authors: Kevin Aslett, William Godel, Zeve Sanderson, Nate Persily, Jonathan Nagler, Richard Bonneau, and Joshua A. Tucker

## Instructions:

Download all the files from the Dataverse at the same time and then unzip the zipped folder.
All the files should be in the proper directories when you unzip the files.

There are two code files that produce the figures and tables for the paper:
-- ./code/Main_Text.R: Generate all figures that are located in the main text.
-- ./code/Supplem_Materials.R: Generate all figures and tables that are located in the supplementary materials.

The log files from both files are in the main directory as well:
-- sessionInfo_main.txt
-- sessionInfo_Supplem_Materials.txt


There are four directories:

(1) code: In the code directory there lies two R files that produce important figures and tables in the main document and the supplementary methods and materials

(1.1) Main_Text.R: Generate all figures that are located in the main text.
(1.2) Supplem_Materials.R: Generate all figures and tables that are located in the supplementary materials.

(2) data: Contains all data

(2.1) Article Data: article_topics_clean.csv
(2.2) Study 1 Data (False/Misleading Articles): Exp_3_Data.csv
(2.3) Study 1 Data (True Articles): Exp_3_Data_True.csv
(2.4) Study 2 Data (False/Misleading Articles): MF_Search_Exp_Misl_False.csv
(2.5) Study 2 Data (True Articles): T_Search_Exp_Misl_False.csv
(2.6) Individual fact-checker data: fact_checkers_byarticle_all_sets.csv
(2.7) Fact-checker ratings for articles: Fact_Checker_Data_Master.csv
(2.8) Data from respondents paid for correct answers: Paid_Survey.csv
(2.9) Data from respondents not paid for correct answers: Control_Survey.csv
(2.10) Rating data for ideology and topic data: Ratings_Ideology_Topic_1.csv


(3) figures: All the figures produced by the two R files in the code directory are located here.

(3.1) Figure 3 in main text: Coefficients_1.png
(3.2) Figure 4 in main text: Coefficients_2.png
(3.3) Figure 5a in main text: Coefficients_3.png
(3.4) Figure 5b in main text: Coefficients_4.png
(3.5) Figure 6 in main text: Coefficients_5.png
(3.6) Figure 4 in SM: Paid_Prop_FM.png
(3.7) Figure 5 in SM: Paid_Prop_T.png

(4) tables: All the tables (in .txt files) produced by the two R files in the code directory are located here.
(4.1) Table 16 in SM: Table_1_JEPS.txt
(4.2) Table 17 in SM: Table_2_JEPS.txt
(4.3) Table 18 in SM: Table_1_JEPS_No_Controls.txt
(4.4) Table 19 in SM: Table_2_JEPS_No_Controls.txt
(4.5) Table 20 in SM: Table_3_JEPS.txt
(4.6) Table 21 in SM: Table_4_JEPS.txt
(4.7) Table 22 in SM: Multiple_Hyp.txt
(4.8) Table 23 in SM: Table_Agreement.txt
(4.9) Table 24 in SM: Table_Compare_Measures.txt
(4.10) Table 25 in SM: Table_FC_Agreement.txt
(4.11) Table 28 in SM: Table_1.txt
(4.12) Table 29 in SM: Table_2.txt